﻿using System;

namespace SpiralMatrix
{
    class SpiralMatrix
    {
        static void Main(string[] args)
        {
            Console.Write("N = ");
            int n = Int32.Parse(Console.ReadLine());

            int[,] matrix = new int[n, n];
        }

        public int[,] FillMatrixInDiagonalFromLeft(int[,] matrix)
        {
            for (int row = 0; row < matrix.GetLength(0); row++)
            {
                for (int col = 0; col < matrix.GetLength(1); col++)
                {
                    
                }
            }

            return matrix;
        }

        public static void PrintMatrix(int[,] matrix)
        {
            int n = (matrix.GetLength(0) * matrix.GetLength(1) - 1).ToString().Length + 1;

            for (int row = 0; row < matrix.GetLength(0); row++)
            {
                for (int col = 0; col < matrix.GetLength(1); col++)
                {
                    Console.Write(matrix[row, col]);
                }
                Console.WriteLine();
            }
        }
    }
}
